<!DOCTYPE html>
<html>
<!--
Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <title>{{title}}</title>
  <script type="text/javascript" src="common.js"></script>
  <script type="text/javascript" src="example.js"></script>
</head>
<body {{attrs}}>
  <h1>{{title}}</h1>
  <h2>Status: <code id="statusField">NO-STATUS</code></h2>
  <p>
    The Native Client module executed in this page creates a thread that
    estimates pi (&pi;) using the Monte Carlo method.  The thread randomly puts
    1,000,000,000 points inside a square that shares two sides with a quarter
    circle (a quadrant).  Because the area of the quadrant is r&#178;&pi;/4 and
    the area of the square is r&#178;, dividing the number of points inside the
    quadrant by the number of points inside the square gives us an estimate of
    &pi;/4.  The textbox under the square shows the current estimate of &pi;.
  </p>
  <!-- The NaCl plugin will be embedded inside the element with id "listener".
      See common.js.-->
  <div id="listener"></div>
  <input type="text" size="15" id="pi">
</body>
</html>
